// Server Configuration
export const AUTH_TOKEN = 'auth_token';
export const JWT_KEY = 'hhxx_ttxs';
export const COOKIE_MAX_AGE = 60 * 60 * 24 * 7;

// Paths
export const ROUTE_LOGIN = '/admin/auth/login';
export const ROUTE_DASHBOARD = '/admin/dashboard';
export const ROUTE_CONTACT = '/admin/contact';
export const ROUTE_SETTINGS = '/admin/settings';
export const ROUTE_USERS = '/admin/users';
export const ROUTE_PAGES = '/admin/pages';
export const ROUTE_ARTICLES = '/admin/articles';
export const ROUTE_BLOGS = '/admin/blogs';
export const ROUTE_COLLECTIONS = '/admin/collections';
export const ROUTE_PRODUCTS = '/admin/products';

// Local Storage Keys
export const LOCAL_USER = 'user';
export const SESSION_INFORMATION = 'information';
export const SESSION_USERS = 'users';
export const SESSION_ROLES = 'roles'
export const SESSION_PERMISSIONS = 'permissions';

// Subscribe Events
export const EVENTBUS_INFROMATION_UPDATE = 'information_update';
export const EVENTBUS_USER_UPDATE = 'user_update';

// SQL Configuration
export const DB_USER = 'root';
export const DB_PASSWORD = 'mysql_YPnca6';
export const DB_HOST = '49.235.49.205';
export const DB_NAME = 'dev';

// Tiptap
export const TIP_TAP_DEFAULT = {type: 'doc', content: []};

// slug
export const SLUG= 'slug';

// Information
export const CACHE_INFORMATION = 60 * 1000;
export const BAIDU_AK = 'J1tGIy6DL0tPKOO4AzGj3emCvBkuZErZ';
export const AMAP_KEY = '391be119ecbb1aa2e46528b2149ee527';

// Email
export const EMAIL_HOST = 'smtp.163.com';
export const EMAIL_PORT = 465;
export const EMAIL_USER = 'xyp90925@163.com';
export const EMAIL_PASS = 'NLRVs7UNeSLtuiRj';